﻿ALTER TABLE [dbo].[Task]
	ADD CONSTRAINT [TaskToUser] 
	FOREIGN KEY ([UserId])
	REFERENCES [dbo].[User] ([Id])
	ON UPDATE CASCADE
	ON DELETE CASCADE
